<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <meta name="description" content="">
    <meta name="author" content="">

    <title>Signin Template for Bootstrap</title>

    <!-- Bootstrap core CSS -->
    <link href="css/bootstrap.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="css/login.css" rel="stylesheet">

</head>

<body>

<div class="container">
   <!--
     action 代表 提交的服务器地址
     method 代表 提交方式
   -->
    <form class="form-signin" action="/login&register/register" method="post">
        <div class="text-center">
            <h2 class="form-signin-heading">注册页面</h2>
        </div>
        <label for="inputName" class="sr-only">用户名</label>
        <input type="text" id="inputName" name="username" class="form-control" placeholder="用户名" required autofocus>
        <label for="inputPassword" class="sr-only">密码</label>
        <input type="password" id="inputPassword" name="password" class="form-control" placeholder="密码" required>
        <label for="inputPassword2" class="sr-only">确认密码</label>
        <input type="password" id="inputPassword2" name="password2" class="form-control" placeholder="确认密码" required>
        <label for="email" class="sr-only">email</label>
        <input type="email" id="email" name="email" class="form-control" placeholder="email" required autofocus>
        <label for="name" class="sr-only">姓名</label>
        <input type="text" id="name" name="name" class="form-control" placeholder="姓名" required autofocus>

        <label class="radio-inline">
            <input type="radio" name="sex" id="inlineRadio1" value="男"> 男
        </label>
        <label class="radio-inline">
            <input type="radio" name="sex" id="inlineRadio2" value="女"> 女
        </label>
        <label for="birthday" class="sr-only">出生日期</label>
        <input type="date" id="birthday" name="birthday" class="form-control" placeholder="出生日期" required autofocus>

        <button class="btn btn-lg btn-primary btn-block" type="submit">注册</button>
    </form>

</div> <!-- /container -->

</body>
</html>
